package org.linlinjava.litemall.db.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.ShopRefundListQuery;
import org.linlinjava.litemall.db.domain.TaxStatisticsDetailVo;

public interface RefundTaxMapper {
    
    List<TaxStatisticsDetailVo> statistics(
    		@Param("startTime") String startTime,
    		@Param("endTime") String endTime,
    		@Param("shopId") Integer shopId);
    
    List<TaxStatisticsDetailVo> totalStatistics(
    		@Param("startTime") String startTime,
    		@Param("endTime") String endTime,
    		@Param("regionId") Integer regionId);
    
    List<TaxStatisticsDetailVo> proxyStatistics(
    		@Param("startTime") String startTime,
    		@Param("endTime") String endTime,
    		@Param("shopId") Integer shopId);
    
    List<TaxStatisticsDetailVo> proxyTotalStatistics(
    		@Param("startTime") String startTime,
    		@Param("endTime") String endTime,
    		@Param("regionId") Integer regionId);
    
    List<TaxStatisticsDetailVo> queryByRefundId(
    		@Param("refundId") Integer refundId);
    
    List<TaxStatisticsDetailVo> totalShopStatistic(
    		@Param("query") ShopRefundListQuery query);
    
}